package com.xinfu.newproject.adapter.setting;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.xinfu.newproject.R;
import com.xinfu.newproject.bean.person.PersonStatus;

/**
 * https://github.com/CymChad/BaseRecyclerViewAdapterHelper
 */
public class PersonAdapter extends BaseQuickAdapter<PersonStatus, BaseViewHolder> {

    public PersonAdapter() {
        super(R.layout.recycler_person);
    }

    @Override
    protected void convert(BaseViewHolder helper, PersonStatus item) {

        helper.setText(R.id.recycler_person_name, item.getName());

    }
}